h1,
mat-dialog-actions {
  :host-context([dir='rtl']) & {
    direction: rtl;
  }
}
